<!-- 地图中弹出面板的容器,该容器会跟随描点移动 -->
<template>
    <transition name="fade">
      <div>
        <!-- 显示内容使用插槽 -->
        <slot/>
      </div>
    </transition>
  </template>

<script>
export default {
  name: 'ol-popup',
  data () {
    return {
    }
  },
  // 组建接受的传入参数
  props: [
  ]
}
</script>
<style>
.fade-enter-active, .fade-leave-active {
  transition: opacity .5s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}
</style>

